apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
  name: testcrds.deckhouse.io
  labels:
    heritage: deckhouse
spec:
  group: deckhouse.io
  scope: Cluster
  names:
    plural: testcrds
    singular: testcrd
    kind: TestCrd
  preserveUnknownFields: false
  versions:
    - name: v1alpha1
      served: true
      storage: true
      schema:
        openAPIV3Schema:
          type: object
          description: 'Test CRD'
          required:
            - spec
          properties:
            spec:
              type: object
              properties:
                examples:
                  type: string
                  description: a
                  x-description: a
